import Layout from '@/layout'
import EmptyLayout from '@/layout/empty'

export default {// TODO
    path: '/announcement',
    component: Layout,
    redirect: '/announcement/index',
    name: 'Announcement',
    meta: {
        title: '公告'
    },
    children: [
        {
            path: 'index',
            name: 'AnnouncementIndex',
            component: () => import(/* webpackChunkName: 'component_extend_example' */ '@/views/Administrators/announcement/index'),
            meta: {
                title: '公告',
                sidebar: false,
                breadcrumb: false,
                activeMenu: '/announcement'
            }
        },
        {
            path: 'release',
            name: 'AnnouncementRelease',
            component: () => import('@/views/Administrators/announcement/release'),
            meta: {
                title: '发布公告',
                sidebar: false,
                activeMenu: '/announcement',
                breadcrumb: true
            }
        },
        {
            path: 'details',
            name: 'AnnouncementDetails',
            component: () => import('@/views/Administrators/announcement/details'),
            meta: {
                title: '公告详情',
                sidebar: false,
                activeMenu: '/announcement',
                breadcrumb: true
            }
        },
        {
            path: 'update',
            name: 'AnnouncementUpdate',
            component: () => import('@/views/Administrators/announcement/update'),
            meta: {
                title: '更新公告',
                sidebar: false,
                activeMenu: '/announcement',
                breadcrumb: true
            }
        }
    ]
}
